const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const midexamSchema = new Schema({
    stu_id:{
        type:String,
        unique:true,
        required:true
    },
    stu_name:{
        type:String,
        unique:false,
        required:true
    },
    chinese:{
        type:String,
        unique:false,
        required:true
    },
    math:{
        type:String,
        unique:false,
        required:true
    },
    english:{
        type:String,
        unique:false,
        required:true
    },
    lizong:{
        type:String,
        unique:false,
        required:true
    },
    wenzong:{
        type:String,
        unique:false,
        required:true
    }
})
const Midexam = mongoose.model("midexam",midexamSchema);
module.exports = Midexam;
